import { Table } from "@nutui/nutui-react-taro";
import "./index.scss";

interface ItableProps {
  data: any[];
  columns: API.TableColumnProps[];
}

const ItableIndex: React.FC<ItableProps> = (props) => {
  const { data, columns } = props;

  return <Table columns={columns} data={data} striped bordered={false} />;
};

export default ItableIndex;
